home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 8 / Night Owl CD-ROM (NOPV8) (Night Owl Publisher) (1993).ISO / 034a / tuthex.arj / TUTHEX7.TXT < prev    next >
Text File  |  1992-06-21  |  2KB  |  49 lines

  1. HEXING TUTORIAL #7 "HEXING 101" CONTINUED..
  2.  
  3. Well, all that easy stuff is behind you, and now you want to
  4. swap and mix cockpits.  Well, here's the deal in a nutshell:
  5. Cockpits are all controlled by the appropriate xxxxxx.INT
  6. file, such as P38.INT for the P38.  These files are in the CP
  7. subdirectory.  Notice that you can make your own custom
  8. cockpit.  For example, we'll use a P38.INT cockpit and put
  9. Me262 wings.  Then, we can copy it as Me410.INT, and use it
  10. directly from the SPC file of whatever plane we want.  Let's
  11. discuss the inside of the INT file.  All the ASCII
  12. equivalents that spell things are where the INT file accesses
  13. other files.  The first, LP38D, is the front cockpit view.
  14. The P38W (at debug 231) controls the wing view.  The P38Q (at
  15. 2C7) controls the 2 rear corner views (this is XXXR in most
  16. other planes).  The P38R (at 35D) controls the rear view.
  17. Notice for most other planes, this is MIRROR instead.  The
  18. P38P (at debug 860) controls the flaps and gear additions to
  19. the front panel.  Now, the ASCII equivalents only control
  20. what graphic is used.  For example, the actual left and right
  21. wing views are controlled by 3 byte "control codes" at (debug
  22. 23A) and (debug 492).  The control codes of the P38 for wings
  23. are 40 01 73, and the codes for the Me262 are 40 01 84.  So,
  24. just replace the bytes P38W with ME262W, and replace the 40
  25. 01 73 (in both locations) with 40 01 84.  You will now have
  26. an interior of the P38 with Me262 side views.  The point is,
  27. is that when you change an ASCII file, you need to change the
  28. two associated 3 byte control codes.  As far as I can tell,
  29. here are the control code locations:
  30. LOCATION:    FOR:
  31. 23A          LEFT WING
  32. 2D0          L. REAR CORNER
  33. 366          CENTER REAR/MIRROR
  34. 3FC          R. REAR CORNER
  35. 492          RIGHT WING
  36.  
  37. I've never had much luck with these others, but here they
  38. are:
  39. 10E          FRONT
  40. 1A4          FRONT 10 O'CLOCK
  41. 528          FRONT 2  O'CLOCK
  42.  
  43. Now here comes the "caveat".  Not all cockpits are compatible
  44. with all wings/rears.  Some side/rear combos from different
  45. planes will work. (example TA183 - he162 front, Me163 sides,
  46. and an Me262 rear view.)  Also, for further research, notice
  47. that the bytes at 116-117 of any .INT file are equal to the
  48. bytes at 1AC-1AD.  I have no idea what this is for, but may
  49. help in compatibility.  Good luck.